<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>消息</title>
    <link rel="stylesheet" type="text/css" href="__CSS__api.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__aui.css" />
    <style>
        body{
            background-color: #ffffff;
        }
        .name{
            width: 100%;
            height: auto;
            background-color: #ffffff;
            padding: 0 0.75rem;
            padding-top: 0.75rem;
            font-size:  0.8rem;
            line-height:1rem;
        }
    </style>
    <style>
        body{
            background-color: #fff;
        }
        .aui-bar-nav .aui-iconfont {
            position: relative;a
        font-family: "aui_iconfont" !important;
            font-size: 0.75rem;
            color: #E73C5C;
            font-style: normal;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            height: 2.4rem;
        }

        .aui-bar-nav {
            background-color: #fff;
        }

        .aui-icon-tu {
            height: 2.4rem;
            width: 49px;
            background: url('__IMG__left.png') no-repeat 0.5rem center;
            background-size: 22px 22px;
        }

        .aui-bar-nav .aui-title {
            font-size: 0.9rem;
            color: #333333;
            font-weight: 500;
        }

        .aui-icon-rightu {
            height: 2.4rem;
            width: 49px;
            background-size: 22px 22px;
            font-size: 0.75rem;
        }
    </style>
</head>
<body>
<header class="aui-bar aui-bar-nav underLine" style="padding-top:25px;" id="header">
    <a class="aui-pull-left" tapmode="active" onclick="history.go(-1)"> <span class="aui-iconfont aui-icon-tu"> </span> </a>
    <div class="aui-title">消息</div>
    <a class="aui-pull-right">
        <!-- <span class="aui-iconfont aui-icon-rightu" tapmode="active" onclick="right()" style="color:#333333;">保存</span> -->
    </a>
</header>
<div class="name flex-wrap">
    {$list.n_detail}
</div>
</body>
<script type="text/javascript" src="__JS__api.js"></script>
<script type="text/javascript" src="__JS__tt.js"></script>
<script type="text/javascript">
    apiready = function() {

        $api.addEvt($api.byId('text1'), 'input', function() {

            var searchValue = $api.val($api.byId("text1")) || "";

            if (searchValue.length >= 30) {
                $api.byId('num2').innerHTML = 0;

                $api.val($api.byId("text1"), searchValue.slice(0, 30));

            } else {
                $api.byId('num2').innerHTML = 30 - searchValue.length;
            }

        });
    };

</script>

</html>
